package com.remindurself.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.remindurself.domain.Member;
import com.remindurself.mapper.MemberMapper;

/** 
 * @author  Bruce 
 * @date 2011-8-4
 * @comment
 */
@Service
public class MemberService {
	@Autowired
	private MemberMapper membersMapper;
	
	public void registerMember(Member member){
		membersMapper.insertMember(member);
	}
	
	public Member getMember(Member member){
		return membersMapper.getMember(member);
	}

}
